package com.emenu.application;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import com.emenu.bean.BusHitDetail;
import com.emenu.bean.BusHitMaster;
import com.emenu.bean.BusSerieshit;
import com.emenu.bean.FunBean;
import com.emenu.bean.Localparm;
import com.emenu.bean.Menu;
import com.emenu.bean.PrintBusRetailDetail;
import com.emenu.bean.PubPrinter;
import com.emenu.bean.PubPrinterTable;
import com.emenu.bean.PubSeries;
import com.emenu.bean.PubSeriesGroup;
import com.emenu.bean.PubTable;
import com.emenu.bean.PubTimer;
import com.emenu.bean.StackBean;
import com.emenu.bean.SubMenu;
import com.emenu.bean.User;
import com.emenu.bean.normalItem;
import com.emenu.common.GetFunRightList;

import android.app.Application;

/**
 * application类，类似全局变量
 * 
 * @author jenson.wang
 * 
 */
public class StaticObject extends Application {
	private List<Localparm> parmList = new ArrayList<Localparm>();
	private List<User> userList = new ArrayList<User>();
	private List<Menu> menuList = new ArrayList<Menu>();
	private List<SubMenu> subMenuList = new ArrayList<SubMenu>();
	private List<BusHitMaster> BusHitMasterList = new ArrayList<BusHitMaster>();
	private List<BusHitDetail> BusHitDetailList = new ArrayList<BusHitDetail>();
	private List<PubTable> PubTableList = new ArrayList<PubTable>();
	private List<PubTimer> pub_timerList = new ArrayList<PubTimer>();
	// 套餐
	private List<PubSeries> PubSeriesList = new ArrayList<PubSeries>();

	// 套餐组
	private List<PubSeriesGroup> PubSeriesGroupList = new ArrayList<PubSeriesGroup>();
//	private BusHitMaster busHitMaster = new BusHitMaster();
	// 套餐明细
	private List<BusSerieshit> BusSerieshitList = new ArrayList<BusSerieshit>();
	// 功能菜单的右边list
	private List<FunBean> FunBeanList = new ArrayList<FunBean>();
	private List<PubPrinter> PubPrinterList = new ArrayList<PubPrinter>();
	private List<PubPrinterTable> PubPrinterTableList = new ArrayList<PubPrinterTable>();
	
	private List<PrintBusRetailDetail> PrintBusRetailDetailList = new ArrayList<PrintBusRetailDetail>();

	public String staticUser;
	public String staticUserName;
	public String staticUserPW;
	public String staticTimeCode;

	// 栈，实现路径显示
	private LinkedList<StackBean> StackList = new LinkedList<StackBean>();
	// 栈，实现返回
	private LinkedList<StackBean> StackCancelList = new LinkedList<StackBean>();

	public List<normalItem> normalList = new ArrayList<normalItem>();

	@Override
	public void onCreate() {
		// TODO Auto-generated method stub
		super.onCreate();
	}

	public List<Menu> getMenuList() {
		return menuList;
	}

	public List<normalItem> getNormalList() {
		return normalList;
	}

	public void setNormalList(List<normalItem> normalList) {
		this.normalList = normalList;
	}

	public void setMenuList(List<Menu> menuList) {
		this.menuList = menuList;
	}

	public List<User> getUserList() {
		return userList;
	}

	public void setUserList(List<User> userList) {
		this.userList = userList;
	}

	public List<SubMenu> getSubMenuList() {
		return subMenuList;
	}

	public void setSubMenuList(List<SubMenu> subMenuList) {
		this.subMenuList = subMenuList;
	}

	public List<Localparm> getParmList() {
		return parmList;
	}

	public void setParmList(List<Localparm> parmList) {
		this.parmList = parmList;
	}

	public LinkedList<StackBean> getStackList() {
		return StackList;
	}

	public void setStackList(LinkedList<StackBean> stackList) {
		StackList = stackList;
	}

	public List<BusHitDetail> getBusHitDetailList() {
		return BusHitDetailList;
	}

	public void setBusHitDetailList(List<BusHitDetail> busHitDetailList) {
		BusHitDetailList = busHitDetailList;
	}

	public LinkedList<StackBean> getStackCancelList() {
		return StackCancelList;
	}

	public void setStackCancelList(LinkedList<StackBean> stackCancelList) {
		StackCancelList = stackCancelList;
	}

//	public BusHitMaster getBusHitMaster() {
//		return busHitMaster;
//	}
//
//	public void setBusHitMaster(BusHitMaster busHitMaster) {
//		this.busHitMaster = busHitMaster;
//	}

	public List<PubTable> getPubTableList() {
		return PubTableList;
	}

	public void setPubTableList(List<PubTable> pubTableList) {
		PubTableList = pubTableList;
	}

	public String getStaticUser() {
		return staticUser;
	}

	public void setStaticUser(String staticUser) {
		this.staticUser = staticUser;
	}

	public String getStaticUserPW() {
		return staticUserPW;
	}

	public void setStaticUserPW(String staticUserPW) {
		this.staticUserPW = staticUserPW;
	}

	public List<PubTimer> getPub_timerList() {
		return pub_timerList;
	}

	public void setPub_timerList(List<PubTimer> pub_timerList) {
		this.pub_timerList = pub_timerList;
	}

	public List<PubSeries> getPubSeriesList() {
		return PubSeriesList;
	}

	public void setPubSeriesList(List<PubSeries> pubSeriesList) {
		PubSeriesList = pubSeriesList;
	}

	public List<PubSeriesGroup> getPubSeriesGroupList() {
		return PubSeriesGroupList;
	}

	public void setPubSeriesGroupList(List<PubSeriesGroup> pubSeriesGroupList) {
		PubSeriesGroupList = pubSeriesGroupList;
	}

	public List<BusSerieshit> getBusSerieshitList() {
		return BusSerieshitList;
	}

	public void setBusSerieshitList(List<BusSerieshit> busSerieshitList) {
		BusSerieshitList = busSerieshitList;
	}

	public List<FunBean> getFunBeanList() {
		return FunBeanList;
	}

	public void setFunBeanList(List<FunBean> funBeanList) {
		FunBeanList = funBeanList;
	}

	public String getStaticTimeCode() {
		return staticTimeCode;
	}

	public void setStaticTimeCode(String staticTimeCode) {
		this.staticTimeCode = staticTimeCode;
	}

	public List<PubPrinter> getPubPrinterList() {
		return PubPrinterList;
	}

	public void setPubPrinterList(List<PubPrinter> pubPrinterList) {
		PubPrinterList = pubPrinterList;
	}

	public List<PubPrinterTable> getPubPrinterTableList() {
		return PubPrinterTableList;
	}

	public void setPubPrinterTableList(List<PubPrinterTable> pubPrinterTableList) {
		PubPrinterTableList = pubPrinterTableList;
	}

	public List<PrintBusRetailDetail> getPrintBusRetailDetailList() {
		return PrintBusRetailDetailList;
	}

	public void setPrintBusRetailDetailList(
			List<PrintBusRetailDetail> printBusRetailDetailList) {
		PrintBusRetailDetailList = printBusRetailDetailList;
	}

	public List<BusHitMaster> getBusHitMasterList() {
		return BusHitMasterList;
	}

	public void setBusHitMasterList(List<BusHitMaster> busHitMasterList) {
		BusHitMasterList = busHitMasterList;
	}

	public String getStaticUserName() {
		return staticUserName;
	}

	public void setStaticUserName(String staticUserName) {
		this.staticUserName = staticUserName;
	}	
	
	

}

